package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.domain.Employee;


public interface EmployeeService extends IService<Employee> {


    R<Employee> login(Employee employee);

    R<Employee> addEmp(Employee employee);

    Page<Employee> findPage(int page, int pageSize, String name);
}
